package com.bwie.test;

/**
 * description:
 *
 * @Author caoshuaifeng
 * @Create 2025/4/25 19:54
 * @Version 1.0
 */
public class MyRunnable implements Runnable{    @Override
    public void run() {
        //run方法内书写需要线程的代码
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName()+"今天吃过饭了");

        }
    }
}
